package com.compass.framework.model

import java.io.Serializable

/**
 * Description： 病历记录
 * Date:2024/2/4 9:33
 */
data class CaseHistoryWarp(
    val total: Int?,
    val list: MutableList<CaseHistory>? = mutableListOf(),
)

data class CaseHistory(
    val diseaseDescription: MutableList<String> = mutableListOf(),
    val diseaseDescriptionText: String,
    val patientId: String,
    val doctorId: String,
    val id: String,
    val createTime: Long,
):Serializable

/**
 * {
 * "diseaseDescription":"范德萨发生小城故事多",
 * "pastHistoryStatus":1,
 * "presentDiseaseStatus":1,
 * "allergyHistoryStatus":0,
 * "diagnosisId":1459,
 * "diagnosisText":"膀胱造口维护",
 * "pastHistoryContent":"咯破SOHO中心医院",
 * "presentDiseaseContent":"我婆婆明敏您",
 * "allergyHistoryContent":"无",
 * "height":187,
 * "weight":55.00,
 * "bmi":15.71,
 * "temperature":null,
 * "sphygmus":null,
 * "breathe":null,
 * "sbp":null,
 * "dbp":null,
 * "heartRate":null,
 * "consultationId":"1767433135697424386",
 * "patientId":"1765702238638215169",
 * "doctorId":67,
 * "id":"1767452692944199682",
 * "createTime":1710228534000,
 * "status":null
 * }
 */
data class CaseHistoryHis(
    var diseaseDescription: String?,//主诉
    var pastHistoryStatus: Int,
    var pastHistoryContent: String?,
    var presentDiseaseStatus: Int,
    var presentDiseaseContent: String?,
    var allergyHistoryStatus: Int,
    var allergyHistoryContent: String?,
    var diagnosisId: String?,//诊断code

    var height: String?,
    var weight: String?,
    var bmi: String?,
    var temperature: String?,
    var sphygmus: String?,
    var breathe: String?,
    var sbp: String?,
    var dbp: String?,
    var heartRate: String?,
    var status: Int?=0,//0为i未填写病历
):Serializable